Viewing Debug (and Core Dump) File Contents
You can view the contents of the downloaded or locally stored debug and core dump files.
|
■
|
Downloaded Debug File or Core Dump File: Unzip the downloaded debug file or core dump file. The unzipped file includes the following subfolders: |
|
●
|
Device: This folder contains the following file: |
|
●
|
reset-history: This folder contains logged device restarts and contains the following: |
The reset-table-of-content.txt file lists the latest logged device restarts, where each logged restart is sequentially numbered ("Counter"), providing the restart reason and the time and date when it occurred. If the restart was caused by an error (i.e., crash), "Exception" (instead of "Reset") is displayed above the restart counter. Below shows an example of logged device restarts:
** Current Reset Counter [68] **
***** Reset *****
Reset Counter:67
Reset Reason: Web Reset
Reset Time: 8.9.2020 20.29.13
**************
***** Exception *****
Reset Counter:66
Exception Reason: Linux Signal
EXCEPTION TIME : 8.9.2020 20.15.43
**************
***** Exception *****
Reset Counter:65
Exception Reason: System crashed due to Kernel Panic
EXCEPTION TIME : 31.8.2020 10.16.45
**************
Each logged device restart that is listed in the reset-table-of-content.txt file has a subfolder whose name is the reset counter (e.g., "67"). This subfolder contains system events or messages that were logged just prior to the device restart:
|
◆
|
core.lzma: This file is generated If Core Dump is enabled and the device restarts (crashes) due to exception event. It is only present in the folder of the latest restart due to an exception. |
|
◆
|
ExceptionInfo.txt: This file is generated only if device restart was caused by an exception event (error). As mentioned previously, these logged device restarts are displayed in the reset-table-of-content.txt file with the title "Exception". The file contains detailed information of the exception. |
|
◆
|
NoSip.lzma: This file contains the latest syslog messages, but without SIP-related syslog messages. |
|
◆
|
Syslog.lzma: This file contains all the latest syslog messages. |
|
■
|
CLI: To view the debug file in CLI, use the following commands: |
|
●
|
Reset history (list of restarts or a specific reset counter): show debug-file reset-info
{list|reset-counter} |
|
●
|
Generated file contents (list of files or a specific file): show debug-file device-logs list|file |
The Core Dump file isn't displayed in the CLI.